<template>
  <div>
    <el-countdown :value="time" format="DD [天] HH:mm:ss" />
  </div>
</template>

<script setup>
import {computed} from "vue";

const props=defineProps(["timeStr","timeLong"])
let time=computed(()=>{
  return new Date(props.timeStr)
})

</script>
